% by YLX on 6/11
% Version 4.0
% for initialize fL1 and FL1
function genPoisson(N)
    global fL1 FL1
    fL1 = zeros(1, 2*N+2);
    FL1 = zeros(1, 2*N+2);
    for i = 0:2*N+1
        fL1(i+1) = function_Poiss(i);
    end
    for i = 1:2*N+1
        FL1(i+1) = sum(fL1(1, 1:i));
    end